package gwtappcontainer.client.apps.home.main;

import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.SpanElement;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;

class CategoryHeadingView extends Composite {

	private static CategoryHeadingUiBinder uiBinder = GWT
			.create(CategoryHeadingUiBinder.class);

	interface CategoryHeadingUiBinder extends UiBinder<Widget, CategoryHeadingView> {
	}

	CategoryHeadingView(String title, String description) {
		initWidget(uiBinder.createAndBindUi(this));
		this.title.setInnerText(title);
		this.description.setInnerText(description);
	}
	
	@UiField SpanElement title;
	@UiField SpanElement description;
}
